import java.util.Scanner;

public class phoneNumber {
    public static void main(String[] args) {
        String number;
        Scanner sc = new Scanner(System.in);
        System.out.println("Please enter your phone number");
        number = sc.next();
        String start = number.substring(0, 3);
        String end = number.substring(7);
        String result = start + "****" + end;
        System.out.println(result);
    }
}
